let point = {
  X: 6,
  Y: 8
};

let ｓCoords = {
  X: 3,
  Y: 4
};

let cCoords = {
  X: 0,
  Y: 0
};

time = Math.abs((Math.pow(point.X, 2) - Math.pow(cCoords.X, 2)) / 10);

let juli1 = Math.sqrt(
  Math.pow(ｓCoords.X - cCoords.X, 2) + Math.pow(ｓCoords.Y - cCoords.Y, 2)
);

let juli2 = Math.sqrt(
  Math.pow(point.X - cCoords.X, 2) + Math.pow(point.Y - cCoords.Y, 2)
);

console.log(juli2);
console.log(juli1);
